package com.xbongbong.saas.enums.base;

import lombok.Getter;

/** 出库单公用枚举
 * @author wujian
 * @version V1.0
 * @date 2020/12/26 20:00
 * @since V1.0
 */
@Getter
public enum ContractStockBaseEnum {
    // 基本信息
    BASE_INFO("other_1"),
    SHEET_NO("serialNo"),
    TIME("date_1"),
    LINK_CUSTOMER("text_66"),
    REF_ID("text_4"),
    WAREHOUSE_ID("text_2"),
    MANAGER_ID("ownerId"),
    PRODUCT_INFO("other_17"),
    PRODUCT("array_1"),
    PRODUCT_TOTAL("num_40"),
    OTHER_EXPENSE("num_39"),
    TOTAL_MONEY("num_38"),
    EXTENSION_INFO("other_16"),
    CUSTOMER_PHONE("subForm_3"),
    CUSTOMER_ADDRESS("address_2"),
    EXPRESS_NAME("text_7"),
    EXPRESS_NO("text_8"),
    MEMO("text_6"),
    // 系统信息
    SYSTEM_INFO("other_2"),
    CREATOR_ID("creatorId"),
    ADD_TIME("addTime"),
    UPDATE_TIME("updateTime"),
    // 模板设计界面不需要展示的字段
    TYPE("text_3"),
    OUTBOUND("num_1"),
    WAREHOUSE_ID_LINKED_TEXT("text_10"),
    REF_ID_LINKED_TEXT("text_12"),
    LINK_CUSTOMER_HIDE("text_67"),

    // 整单折扣率
    WHOLE_ORDE_DISCOUNT_RATE("num_61"),
    // 优惠金额
    DISCOUNT_AMOUNT("num_62"),
    ;
    private final String attr;

    ContractStockBaseEnum(String attr) {
        this.attr = attr;
    }
}
